import React from 'react'
import './drop-down-item.css'
import {Link} from 'react-router-dom'
class DropDownItem extends React.Component{
    render(){
        return (
            <li><Link to={this.props.to}>{this.props.text}</Link></li>
        );
    }
}
export default DropDownItem;
